package corewarsxxi.logic;

/**
 * Interface IObserver used to implement the Observable design pattern
 *
 * @version 1.0
 * @see     corewarsxxi.logic.Observable
 * @author  Luís Fonseca, ei10139 @ FEUP
 */
public interface IObserver
{
    /**
     * Recieves the notification from the IObservable
     * @param obs               MemoryCell cell
     * @param offset            the offset of the MemoryCell
     * @param currentWarrior    the current warrior
     */
    public void notifyObs(MemoryCell obs, int offset, Warrior currentWarrior);
}
